#ifndef TEXTUREMANAGER_H_
#define TEXTUREMANAGER_H_

#include <string>
#include "glbmp.h"
#include "GL/glut.h"

class TextureManager
{
	private:
	int count;
	glbmp_t * LoadBMP(const char *Filename);
	
	public:
	GLuint texture[256];
	char * keys[256];
	
	TextureManager();
	~TextureManager();
	int LoadTexture(const char * filename);	
	void EnableTexture(const char * key);
	void EnableTexture(GLuint i);
	
	bool TextureExists(const char * key);
	GLuint TextureIndex(const char * key);
};

#endif /*TEXTUREMANAGER_H_*/
